Ubuntu 11.04
Sponsored Link

Create Virtual Machine #2
2011/04/30
  Create a Virtual Machine from template.

[1] Create a Virtual Machine from template that is made in previous topic.
# copy disk image and XML file for a new Virtual Machine

root@dlp:~#
virt-clone --original template --name mail --file /var/kvm/images/mail.img

Allocating 'mail.img'
| 20 GB 01:44


Clone 'mail' created successfully.

root@dlp:~#
virsh start mail --console

Domain mail started
Connected to domain mail

Ubuntu 11.04 www ttyS0

www login:
# completed to boot


root@www:~#
vi /etc/hostname


# change hostname you like

mail


root@www:~#
logout

Ubuntu 11.04 www ttyS0

mail login:
# complete
 
Tweet